package com.wang.sse.service;

import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

/**
 * @author: wangning1@abupdate.com
 * @date: 2023-12-14 09:48
 **/
public interface SseEmitterService {

    SseEmitter connect(String uuid);

    void publisher(String id, String message);

    void sendMessage(String message);

}